package soft.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import soft.pojo.Teacher;


public interface TeacherService {
	Teacher getByName(String tName);
	Teacher getById(String tId);
	List<Teacher> getAll();
	Teacher login(String tId, String password);
	boolean addTeacher(Teacher bean);
	boolean updateTeacher(Teacher bean);
	boolean deleteTeacher(String tId);
	List<Teacher> getTeacherLikeName(String tName);
	
}
